package il.ac.tau.cg.ex3.entities.styles;

import il.ac.tau.cg.ex3.entities.Entity;
import il.ac.tau.cg.ex3.entities.styles.drawables.Drawable;

public class Material implements Entity
{
	private Drawable drawable;
	
	private Color specular;
	private Color ambient;
	private Color emission;

	private double shininess;
	private double reflectance;
	
	public Material(Drawable drawable, Color specular, Color ambient, Color emission,
					double shininess, double reflectance)
	{
		this.drawable = drawable;
		
		this.specular = specular;
		this.ambient = ambient;
		this.emission = emission;
		
		this.shininess = shininess;
		this.reflectance = reflectance;
	}
	
	public void setDrawable(Drawable drawable)
	{
		this.drawable = drawable;
	}
	
	public Drawable getDrawable()
	{
		return drawable;
	}
	
	public void setSpecular(Color specular)
	{
		this.specular = specular;
	}
	
	public Color getSpecular()
	{
		return specular;
	}
	
	public void setAmbient(Color ambient)
	{
		this.ambient = ambient;
	}
	
	public Color getAmbient()
	{
		return ambient;
	}
	
	public void setEmission(Color emission)
	{
		this.emission = emission;
	}
	
	public Color getEmission()
	{
		return emission;
	}
	
	public void setShininess(double shininess)
	{
		this.shininess = shininess;
	}
	
	public double getShininess()
	{
		return shininess;
	}
	
	public void setReflectance(double reflectance)
	{
		this.reflectance = reflectance;
	}
	
	public double getReflectance()
	{
		return reflectance;
	}
}
